import request from '@/lib/request.js'
import { showToast } from '@/lib/utils.js'

export default {
	login(data) {
		return request.post('/login',data,false)
	},
	logout(data) {
		return request.get('/logout',data)
	},
	Captcha() {
		return request.get('/captcha',{},false)
	},
	checkToken() {
		return request.post('app/check_token')
	},
}